<?php
/**
 * @version		$Id: default.php 14276 2010-01-18 14:20:28Z louis $
 * @package		Joomla.Administrator
 * @subpackage	com_cpanel
 * @copyright	Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

// no direct access
defined('_JEXEC') or die;

require_once JPATH_COMPONENT.'/helpers/ajaxwhois.php';
require_once JPATH_COMPONENT.'/helpers/html/ajaxwhois.php';

JHTML::_('behavior.tooltip');
$links = JHtmlAjaxWhois::icons();
$paneContent = JHtmlAjaxWhois::panes(); 
jimport( 'joomla.html.pane' );
JHtmlAjaxWhois::tipStyle();
?>
		<table class="adminform">
			<tr>
				<td valign="top">
					<div id="cpanel" style="width: 420px; float: left;">
					  <div>
						<?php // Assemble Buttons
						$linkroot = "index.php?option=com_ajaxwhois&amp;view=";
						foreach ( $links as $litem ) {
							if ( is_array( $litem ) ) {
								JHtmlAjaxWhois::quickiconButton( $linkroot.$litem[0], $litem[0].'-48x48.png', $litem[1], false, $litem[2] );
							} else {
								?></div><h3>&raquo;<?php echo $litem; ?></h3><div><?php
							}
						}
						?>
					  </div>
                    </div>
                    <div style="width:40%;float:right;">
					    <?php 
						$pane =& JPane::getInstance('sliders');
						echo $pane->startPane("content-pane");
						echo $pane->startPanel( JText::_( "Introduction" ), "panel1" );
						echo $paneContent[0];
						echo $pane->endPanel();
						echo $pane->startPanel( JText::_( "Features" ), "panel2" );
						echo $paneContent[1];
						echo $pane->endPanel();
						echo $pane->startPanel( JText::_( "QuickStartGuide" ), "panel3" );
						echo $paneContent[2];
						echo $pane->endPanel();
						echo $pane->endPane();
					  ?>
                    </div>
				</td>
			</tr>
		</table>
		<?php JHtmlAjaxWhois::powered(); ?>
